internal/runtime/maps.table.used (field)
19 uses
internal/runtime/maps (current package)
runtime.go#L337: t.used++
runtime_fast32.go#L310: t.used++
runtime_fast32.go#L444: t.used++
runtime_fast64.go#L311: t.used++
runtime_fast64.go#L484: t.used++
runtime_faststr.go#L381: t.used++
table.go#L35: used uint16
table.go#L138: return uint64(t.used)
table.go#L354: t.used++
table.go#L414: t.used++
table.go#L439: t.used--
table.go#L596: return (t.capacity*maxAvgGroupLoad)/abi.MapGroupSlots - t.used - t.growthLeft
table.go#L602: if t.used == 0 && t.growthLeft == mgl { // no current entries and no tombstones
table.go#L617: fullTest := uint64(t.used)*4 <= t.groups.lengthMask // less than ~0.25 entries per group -> >3/4 empty groups
table.go#L637: t.used = 0
table_debug.go#L59: if used != t.used {
table_debug.go#L60: print("invariant failed: found ", used, " used slots, but used count is ", t.used, "\n")
table_debug.go#L65: growthLeft := (t.capacity*maxAvgGroupLoad)/abi.MapGroupSlots - t.used - deleted
table_debug.go#L88: used: `, t.used, `
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |